package ooday02;

public class AnimalTest {
    public static void main(String[] args) {
        Dog xh = new Dog("小黑","黑",2);
        xh.lookHome();
        xh.eat();
        xh.drink();
        xh.swim();
        Chick xj = new Chick("小黄","黄",1);
        xj.layEggs();
        xj.eat();
        xj.drink();
        Fish xy = new Fish("小蓝","蓝",3);
        xy.eat();
        xy.drink();
        xy.swim();
    }
}
